home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 3 / Macwelt DVD 3.cdr / System / Utilities / PhoneManager 1.0.6 / Java for 6310i / cavemanDemo.jar / c.class (.txt) < prev    next >
Encoding:
Java Class File  |  2002-05-15  |  784 b   |  41 lines

  1. import java.util.TimerTask;
  2.  
  3. // $FF: renamed from: c
  4. public class class_0 extends TimerTask {
  5.    // $FF: renamed from: a b
  6.    public b field_0;
  7.    // $FF: renamed from: b int
  8.    public int field_1;
  9.  
  10.    public class_0(b var1) {
  11.       this.field_0 = var1;
  12.       this.field_1 = 0;
  13.    }
  14.  
  15.    public void run() {
  16.       this.field_1 += 50;
  17.       switch (this.field_0.a) {
  18.          case 0:
  19.             if (this.field_1 >= 1500) {
  20.                this.field_0.a = 1;
  21.                this.field_0.j = true;
  22.                this.field_0.b();
  23.             }
  24.             break;
  25.          case 2:
  26.             if (this.field_0.v >= this.field_0.d / 2) {
  27.                d.c(6);
  28.                this.field_0.p.cancel();
  29.                this.field_0.n.c();
  30.             } else {
  31.                b var10000 = this.field_0;
  32.                var10000.v = (short)(var10000.v + this.field_0.d / 15);
  33.                var10000 = this.field_0;
  34.                var10000.w = (short)(var10000.w + this.field_0.c / 15);
  35.                this.field_0.b();
  36.             }
  37.       }
  38.  
  39.    }
  40. }
  41.